﻿using System;
using System.Linq;
using Orange.Logistics.Models;
using Orange.Logistics.Infrastructure;
using Orange.Logistics.Services;
using System.Web.Mvc;
using Newtonsoft.Json;
using System.Collections.Generic;

namespace Orange.Logistics.Controllers {

    public class BillController : BaseController<BillRecord> {

        private readonly IBillService service;

        public BillController(IBillService service)
            : base(service) {
            this.service = service;
        }

        protected override Func<BillRecord, object> GetOrderBy(string sort) {
            throw new NotImplementedException();
        }

        protected override void Dispose(bool disposing) {
            if (disposing) {
                service.Dispose();
            }
        }

    }
}